package com.opencloud.ywt.provider.service;

import com.opencloud.common.model.PageParams;
import com.opencloud.ywt.client.model.entity.*;

import java.util.List;

public interface BhyfDzbpService {
    List<BhyfDzbpFile> findFileListPage(PageParams pageParams);
    List<BhyfDzbpNotice> findNoticeListPage(PageParams pageParams);
    List<BhyfDzbpTeacher> findTeacherListPage(PageParams pageParams);
    List<BhyfDzbpDuty> findDutyListPage(PageParams pageParams);
    Boolean deleteNotice(int noticeid,int gid,int classid,int uid);
    Boolean deleteFile(String filekey,int gid,int classid,int uid);
    Boolean deleteTeacher(int teacherid,int gid,int classid);
    BhyfDzbpFile addFile(BhyfDzbpFile entiy);
    BhyfDzbpTeacher addTeacher(BhyfDzbpTeacher entiy);
    BhyfDzbpDuty addDuty(BhyfDzbpDuty entiy);
    BhyfDzbpNotice addNotice(BhyfDzbpNotice entiy);
    BhyfDzbpTeacher updateTeacher(BhyfDzbpTeacher entiy);
    BhyfDzbpMap addMap(BhyfDzbpMap entiy);
    BhyfDzbpArea addArea(BhyfDzbpArea entiy);
    BhyfDzbpArea updateArea(BhyfDzbpArea entiy);
    BhyfDzbpMap updateMap(BhyfDzbpMap entiy);
    List<BhyfDzbpArea> findAreaListPage(int gid);
    List<BhyfDzbpMap> findGardenMap(int gid);
    Boolean deleteArea(int areaid,int gid);
    Boolean deleteDuty(int personid,String dutydate,int gid,int classid);
}
